﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KC.DTO.Core;
using KC.Enums.WorkFlow;
using System.Runtime.Serialization;

namespace KC.Service.DTO.WorkFlow
{
    [Serializable]
    [DataContract(IsReference = true)]
    public class WorkFlowGroupDto : EntityDTO
    {
        public WorkFlowGroupDto()
        {
            WorkFlows = new List<WorkFlowsDto>();
        }
        [DataMember]
        public Guid? Id { get; set; }
        [DataMember]
        public Guid? ApplyId { get; set; }
        [DataMember]
        public Guid? EditApplyId { get; set; }
        [DataMember]
        public string ApplyString { get; set; }
        [DataMember]
        public string Title { get; set; }
        [DataMember]
        public string Code { get; set; }
        [DataMember]
        public string Remark { get; set; }
        [DataMember]
        public bool IsEnable { get; set; }
        [DataMember]
        public string IsEnableString { get; set; }
        [DataMember]
        public string IsDefaultString { get; set; }
        [DataMember]
        public Guid? ApplicationId { get; set; }
        [DataMember]
        public bool WorkFlowsDtoData { get; set; }
        [DataMember]
        public ProcessingState ProcessingState { get; set; }
        [DataMember]
        public List<WorkFlowsDto> WorkFlows { get; set; }
    }
}
